﻿using Adnc.Application.Shared.Services;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using WYT.Sys.Application.Contracts.Dtos.Common;

namespace WYT.Sys.Application.Contracts.Services
{
    /// <summary>
    /// 公共服务
    /// </summary>
    public interface ICommonAppService : IAppService
    {
        /// <summary>
        /// 地址查询
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<AppSrvResult<List<AreaDto>>> AreaQuery(AreaSearchDto input);

        /// <summary>
        /// 获取广告/banner
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<AppSrvResult<List<BannerDto>>> GetBannerList(BannerSearchDto input);

        /// <summary>
        /// 提交意见
        /// </summary>
        /// <param name="userId"></param>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<AppSrvResult> SubmitFeedBack(long userId, FeedbackDto input);
    }
}
